package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.PostInfo;

public interface PostInfoMapper extends BaseDaoMapper<PostInfo, Long> {
	
	
	/**
	 * 生活管理员获取论坛的信息
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getPostInfoList(Map<String,Object> paramMap);
	
	/**
	 * 生活管理员获取论坛的信息条数
	 * @param paramMap
	 * @return
	 */
	public int getPostInfoCount(Map<String,Object> paramMap);
	
	/**
	 * app获取论坛所有贴子
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getPostMessageList(Map<String, Object> params);
	
	/**
	 * app获取贴子详情
	 * @param params
	 * @return
	 */
	public Map<String, Object> getPostDetails(Map<String, Object> params);
	
}